<?php


namespace app\common\model;


use think\Model;


class News extends Model
{
    public function type(){
        return $this->belongsTo('NewsType','type_id');
    }

}